MindFusion WinForms Programmer's Guide
Utils.PathGradient Method (PointF, Object[])
See Also
 





Creates a path gradient brush with the specified blend and center point.

Namespace: MindFusion.Gauges
Assembly: MindFusion.Gauges

 Syntax

C#  Copy Code

public static PathGradientBrush PathGradient (
    PointF centerPoint,
    Object[] positionsAndColors
)

Visual Basic  Copy Code

Public Shared Function PathGradient ( _
    centerPoint As PointF, _
    positionsAndColors() As Object _
) As PathGradientBrush

 Parameters

centerPoint
The center of the path gradient.
positionsAndColors
An alternating sequence of float and Color pairs where each pair defines a gradient stop. The positions in the sequence need to be in ascending order.

 Return Value

An instance of the PathGradientBrush class corresponding to the specified settings.

 See Also

PathGradient Method Overload List
Utils Members
Utils Class
MindFusion.Gauges Namespace